#pragma once

#pragma comment(lib,"corona")
#include <stdlib.h>
#include <GL/glut.h>
#include <string>

class cTexture
{
public:
	cTexture(void);
	~cTexture(void);

  bool Load(std::string lsFilename,int liType = GL_RGBA,int liWraps = GL_REPEAT,int liWrapt = GL_REPEAT,
			  int liMagf = GL_LINEAR,int liMinf = GL_LINEAR,bool lbMipmap = false);
	int  GetID();
	void GetSize(unsigned int *luiWidth,unsigned int *luiHeight);
  std::string GetName();

private:
	GLuint mguiId;
	unsigned int muiWidth;
	unsigned int muiHeight;
  std::string msName;
};
